package com.ruoyi.combat.domain.apprisk;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CombatApkCheckInfo {
    @Excel(name = "app名称")
    private String appName;
    /**
     * app版本号
     */
    @Excel(name = "app版本号")
    private String appVersion;

    /**
     * app存储路径
     */
    @Excel(name = "app存储路径")
    private String appPath;

    /**
     * app存储路径
     */
    @Excel(name = "appMD5值")
    private String appMd5;

    @Excel(name = "app图标")
    private String appIcon;

    @Excel(name = "app包名")
    private String appPkgname;

    @Excel(name = "app的sha256哈希值")
    private String appSha256;

    private List<AppRiskInfo> list;

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public String getAppPath() {
        return appPath;
    }

    public void setAppPath(String appPath) {
        this.appPath = appPath;
    }

    public String getAppMd5() {
        return appMd5;
    }

    public void setAppMd5(String appMd5) {
        this.appMd5 = appMd5;
    }

    public String getAppIcon() {
        return appIcon;
    }

    public void setAppIcon(String appIcon) {
        this.appIcon = appIcon;
    }

    public String getAppPkgname() {
        return appPkgname;
    }

    public void setAppPkgname(String appPkgname) {
        this.appPkgname = appPkgname;
    }

    public String getAppSha256() {
        return appSha256;
    }

    public void setAppSha256(String appSha256) {
        this.appSha256 = appSha256;
    }

    public List<AppRiskInfo> getList() {
        return list;
    }

    public void setList(List<AppRiskInfo> list) {
        this.list = list;
    }

    public void setAppRiskInfo(AppRiskInfo info) {
        if(this.list==null) {
            this.list = new ArrayList<>();
        }
        this.list.add(info);
    }


}
